<!--
  This template loads for the 'tab.friend-detail' state (app.js)
  'friend' is a $scope variable created in the FriendsCtrl controller (controllers.js)
  The FriendsCtrl pulls data from the Friends service (service.js)
  The Friends service returns an array of friend data
-->
<ion-view view-title="意见反馈" class="xg-feedback-view">
    <ion-nav-buttons side="left">
        <a class="ion-ios-arrow-back" href="#/tab/setting"></a>
    </ion-nav-buttons>
  <ion-content class="padding xg-feedback-content">
  <div class="list">
    <ng-form name="feedbackForm">
    <label class="item item-input">
      <textarea placeholder="请在此写下您的意见或建议，谢谢您的支持(最少10字)。" ng-model="setting.feedback" ng-minlength="10" required></textarea>
    </label>
    <button class="button button-full xg-feedback-btn" ng-click="submit()" ng-disabled="feedbackForm.$invalid">
      提交
    </button>
    </ng-form>
  </div>
  </ion-content>
</ion-view>
